﻿
namespace NetROS.Tiers.Windows.Forms
{
	/// <summary>
	/// This is the abstract edit form for the <see cref="Entities.ObracunOsobaPrimanje"/> entity.
	/// </summary>
	/// <remarks>This class is overwritten by .netTiers at each generation.</remarks>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class ObracunOsobaPrimanjeEditControlBase : System.Windows.Forms.UserControl
	{
		#region Fields
		
		//private System.Windows.Forms.TableLayoutPanel uxTableLayoutPanel;
		/// <summary>
		/// The ErrorProvider for the Entity;
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxErrorProvider;
		
		/// <summary>
		/// The BindingSource for the entity.
		///</summary>
		protected System.Windows.Forms.BindingSource uxBindingSource;
						
		
		/// <summary>
		/// TextBox for the ID property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxID;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ID property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDLabel;
		
		/// <summary>
		/// ComboBox for the IDObracunOsoba property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDObracunOsoba;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDObracunOsoba property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDObracunOsobaLabel;
		
		/// <summary>
		/// ComboBox for the IDPrimanjeTip property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDPrimanjeTip;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDPrimanjeTip property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDPrimanjeTipLabel;
		
		/// <summary>
		/// TextBox for the Sati property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxSati;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Sati property.
		/// </summary>
		protected System.Windows.Forms.Label uxSatiLabel;
		
		/// <summary>
		/// TextBox for the Postotak property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxPostotak;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Postotak property.
		/// </summary>
		protected System.Windows.Forms.Label uxPostotakLabel;
		
		/// <summary>
		/// TextBox for the Satnica property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxSatnica;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Satnica property.
		/// </summary>
		protected System.Windows.Forms.Label uxSatnicaLabel;
		
		/// <summary>
		/// DataTimePicker for the DatumOd property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDatumOd;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DatumOd property.
		/// </summary>
		protected System.Windows.Forms.Label uxDatumOdLabel;
		
		/// <summary>
		/// DataTimePicker for the DatumDo property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDatumDo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DatumDo property.
		/// </summary>
		protected System.Windows.Forms.Label uxDatumDoLabel;
		
		/// <summary>
		/// TextBox for the Iznos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIznos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Iznos property.
		/// </summary>
		protected System.Windows.Forms.Label uxIznosLabel;
		
		/// <summary>
		/// TextBox for the StazMjeseci1 property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxStazMjeseci1;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the StazMjeseci1 property.
		/// </summary>
		protected System.Windows.Forms.Label uxStazMjeseci1Label;
		
		/// <summary>
		/// TextBox for the StazMjeseci2 property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxStazMjeseci2;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the StazMjeseci2 property.
		/// </summary>
		protected System.Windows.Forms.Label uxStazMjeseci2Label;
		
		/// <summary>
		/// CheckBox for the MIO1 property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxMIO1;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the MIO1 property.
		/// </summary>
		protected System.Windows.Forms.Label uxMIO1Label;
		
		/// <summary>
		/// CheckBox for the MIO2 property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxMIO2;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the MIO2 property.
		/// </summary>
		protected System.Windows.Forms.Label uxMIO2Label;
		
		/// <summary>
		/// TextBox for the BrojDanaInozemstva property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxBrojDanaInozemstva;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the BrojDanaInozemstva property.
		/// </summary>
		protected System.Windows.Forms.Label uxBrojDanaInozemstvaLabel;
		
		/// <summary>
		/// TextBox for the StazSPovecanimTrajanjemRegos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxStazSPovecanimTrajanjemRegos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the StazSPovecanimTrajanjemRegos property.
		/// </summary>
		protected System.Windows.Forms.Label uxStazSPovecanimTrajanjemRegosLabel;
		
		/// <summary>
		/// TextBox for the IznosSOsobaPlace property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIznosSOsobaPlace;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IznosSOsobaPlace property.
		/// </summary>
		protected System.Windows.Forms.Label uxIznosSOsobaPlaceLabel;
		
		/// <summary>
		/// TextBox for the DnevnoRadnihSatiSOsobaplaca property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDnevnoRadnihSatiSOsobaplaca;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DnevnoRadnihSatiSOsobaplaca property.
		/// </summary>
		protected System.Windows.Forms.Label uxDnevnoRadnihSatiSOsobaplacaLabel;
		
		/// <summary>
		/// TextBox for the OriginalniIznos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxOriginalniIznos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the OriginalniIznos property.
		/// </summary>
		protected System.Windows.Forms.Label uxOriginalniIznosLabel;
		
		/// <summary>
		/// CheckBox for the DoprinosNaPlace property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxDoprinosNaPlace;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DoprinosNaPlace property.
		/// </summary>
		protected System.Windows.Forms.Label uxDoprinosNaPlaceLabel;
		#endregion
		
		#region Main entity
		private Entities.ObracunOsobaPrimanje _ObracunOsobaPrimanje;
		/// <summary>
		/// Gets or sets the <see cref="Entities.ObracunOsobaPrimanje"/> entity to edit with this form.
		/// </summary>
		/// <value>The <see cref="Entities.ObracunOsobaPrimanje"/> instance.</value>
		public Entities.ObracunOsobaPrimanje ObracunOsobaPrimanje
		{
			get {return this._ObracunOsobaPrimanje;}
			set
			{
				this._ObracunOsobaPrimanje = value;
				if (value != null) 
				{
					this.uxBindingSource.DataSource = value;
					BindControls();
				}			
				
			}
		}
		#endregion
		
		/// <summary>
		/// Binds the controls.
		/// </summary>
		private void BindControls()
		{
			this.uxID.DataBindings.Clear();
			this.uxID.DataBindings.Add("Text", this.uxBindingSource, "ID", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDObracunOsoba.DataBindings.Clear();
			this.uxIDObracunOsoba.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDObracunOsoba", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDPrimanjeTip.DataBindings.Clear();
			this.uxIDPrimanjeTip.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDPrimanjeTip", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxSati.DataBindings.Clear();
			this.uxSati.DataBindings.Add("Text", this.uxBindingSource, "Sati", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxPostotak.DataBindings.Clear();
			this.uxPostotak.DataBindings.Add("Text", this.uxBindingSource, "Postotak", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxSatnica.DataBindings.Clear();
			this.uxSatnica.DataBindings.Add("Text", this.uxBindingSource, "Satnica", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDatumOd.DataBindings.Clear();
			this.uxDatumOd.DataBindings.Add("Value", this.uxBindingSource, "DatumOd", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDatumDo.DataBindings.Clear();
			this.uxDatumDo.DataBindings.Add("Value", this.uxBindingSource, "DatumDo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIznos.DataBindings.Clear();
			this.uxIznos.DataBindings.Add("Text", this.uxBindingSource, "Iznos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxStazMjeseci1.DataBindings.Clear();
			this.uxStazMjeseci1.DataBindings.Add("Text", this.uxBindingSource, "StazMjeseci1", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxStazMjeseci2.DataBindings.Clear();
			this.uxStazMjeseci2.DataBindings.Add("Text", this.uxBindingSource, "StazMjeseci2", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMIO1.DataBindings.Clear();
			this.uxMIO1.DataBindings.Add("Checked", this.uxBindingSource, "MIO1", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMIO2.DataBindings.Clear();
			this.uxMIO2.DataBindings.Add("Checked", this.uxBindingSource, "MIO2", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxBrojDanaInozemstva.DataBindings.Clear();
			this.uxBrojDanaInozemstva.DataBindings.Add("Text", this.uxBindingSource, "BrojDanaInozemstva", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxStazSPovecanimTrajanjemRegos.DataBindings.Clear();
			this.uxStazSPovecanimTrajanjemRegos.DataBindings.Add("Text", this.uxBindingSource, "StazSPovecanimTrajanjemRegos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIznosSOsobaPlace.DataBindings.Clear();
			this.uxIznosSOsobaPlace.DataBindings.Add("Text", this.uxBindingSource, "IznosSOsobaPlace", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDnevnoRadnihSatiSOsobaplaca.DataBindings.Clear();
			this.uxDnevnoRadnihSatiSOsobaplaca.DataBindings.Add("Text", this.uxBindingSource, "DnevnoRadnihSatiSOsobaplaca", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxOriginalniIznos.DataBindings.Clear();
			this.uxOriginalniIznos.DataBindings.Add("Text", this.uxBindingSource, "OriginalniIznos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDoprinosNaPlace.DataBindings.Clear();
			this.uxDoprinosNaPlace.DataBindings.Add("Checked", this.uxBindingSource, "DoprinosNaPlace", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
		}					
		
		#region Constructor
		
		/// <summary>
		/// Initializes a new instance of the <see cref="ObracunOsobaPrimanjeEditControlBase"/> class.
		/// </summary>
		public ObracunOsobaPrimanjeEditControlBase()
		{
			InitializeComponent();			
			
			this.uxBindingSource.CurrentItemChanged += new System.EventHandler(uxBindingSource_currentItemChanged);
		}		
		
		/// <summary>
		/// 
		/// </summary>
		private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
		{
			if (_ObracunOsobaPrimanje != null) _ObracunOsobaPrimanje.Validate();
		}	
				
		/// <summary>
		/// Initializes the component.
		/// </summary>
		public void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);
			
			//this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
			this.uxID = new System.Windows.Forms.TextBox();
			uxIDLabel = new System.Windows.Forms.Label();
			this.uxIDObracunOsoba = new System.Windows.Forms.ComboBox();
			uxIDObracunOsobaLabel = new System.Windows.Forms.Label();
			this.uxIDPrimanjeTip = new System.Windows.Forms.ComboBox();
			uxIDPrimanjeTipLabel = new System.Windows.Forms.Label();
			this.uxSati = new System.Windows.Forms.TextBox();
			uxSatiLabel = new System.Windows.Forms.Label();
			this.uxPostotak = new System.Windows.Forms.TextBox();
			uxPostotakLabel = new System.Windows.Forms.Label();
			this.uxSatnica = new System.Windows.Forms.TextBox();
			uxSatnicaLabel = new System.Windows.Forms.Label();
			this.uxDatumOd = new System.Windows.Forms.DateTimePicker();
			uxDatumOdLabel = new System.Windows.Forms.Label();
			this.uxDatumDo = new System.Windows.Forms.DateTimePicker();
			uxDatumDoLabel = new System.Windows.Forms.Label();
			this.uxIznos = new System.Windows.Forms.TextBox();
			uxIznosLabel = new System.Windows.Forms.Label();
			this.uxStazMjeseci1 = new System.Windows.Forms.TextBox();
			uxStazMjeseci1Label = new System.Windows.Forms.Label();
			this.uxStazMjeseci2 = new System.Windows.Forms.TextBox();
			uxStazMjeseci2Label = new System.Windows.Forms.Label();
			this.uxMIO1 = new System.Windows.Forms.CheckBox();
			uxMIO1Label = new System.Windows.Forms.Label();
			this.uxMIO2 = new System.Windows.Forms.CheckBox();
			uxMIO2Label = new System.Windows.Forms.Label();
			this.uxBrojDanaInozemstva = new System.Windows.Forms.TextBox();
			uxBrojDanaInozemstvaLabel = new System.Windows.Forms.Label();
			this.uxStazSPovecanimTrajanjemRegos = new System.Windows.Forms.TextBox();
			uxStazSPovecanimTrajanjemRegosLabel = new System.Windows.Forms.Label();
			this.uxIznosSOsobaPlace = new System.Windows.Forms.TextBox();
			uxIznosSOsobaPlaceLabel = new System.Windows.Forms.Label();
			this.uxDnevnoRadnihSatiSOsobaplaca = new System.Windows.Forms.TextBox();
			uxDnevnoRadnihSatiSOsobaplacaLabel = new System.Windows.Forms.Label();
			this.uxOriginalniIznos = new System.Windows.Forms.TextBox();
			uxOriginalniIznosLabel = new System.Windows.Forms.Label();
			this.uxDoprinosNaPlace = new System.Windows.Forms.CheckBox();
			uxDoprinosNaPlaceLabel = new System.Windows.Forms.Label();
			
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
			this.SuspendLayout();
			
			// 
			// uxTableLayoutPanel
			// 
			//this.uxTableLayoutPanel.AutoSize = true;
			//this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			//this.uxTableLayoutPanel.ColumnCount = 2;
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
			//this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
			//this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
			//this.uxTableLayoutPanel.RowCount = 2;
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
			//this.uxTableLayoutPanel.TabIndex = 0;
			
			//
			// uxErrorProvider
			//
			this.uxErrorProvider.ContainerControl = this;
			this.uxErrorProvider.DataSource = this.uxBindingSource;
			
			//
			// uxIDLabel
			//
			this.uxIDLabel.Text = "ID:";
			this.uxIDLabel.Location = new System.Drawing.Point(3, 0);
			this.Controls.Add(this.uxIDLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDLabel);			
			//
			// uxID
			//
			this.uxID.ReadOnly = true;
			//this.uxTableLayoutPanel.Controls.Add(this.uxID);
			this.uxID.Location = new System.Drawing.Point(160, 0);
			this.Controls.Add(this.uxID);
			//
			// uxIDObracunOsobaLabel
			//
			this.uxIDObracunOsobaLabel.Text = "IDObracunOsoba:";
			this.uxIDObracunOsobaLabel.Location = new System.Drawing.Point(3, 26);
			this.Controls.Add(this.uxIDObracunOsobaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDObracunOsobaLabel);			
			//
			// uxIDObracunOsoba
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDObracunOsoba);
			this.uxIDObracunOsoba.Location = new System.Drawing.Point(160, 26);
			this.Controls.Add(this.uxIDObracunOsoba);
			//
			// uxIDPrimanjeTipLabel
			//
			this.uxIDPrimanjeTipLabel.Text = "IDPrimanjeTip:";
			this.uxIDPrimanjeTipLabel.Location = new System.Drawing.Point(3, 52);
			this.Controls.Add(this.uxIDPrimanjeTipLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDPrimanjeTipLabel);			
			//
			// uxIDPrimanjeTip
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDPrimanjeTip);
			this.uxIDPrimanjeTip.Location = new System.Drawing.Point(160, 52);
			this.Controls.Add(this.uxIDPrimanjeTip);
			//
			// uxSatiLabel
			//
			this.uxSatiLabel.Text = "Sati:";
			this.uxSatiLabel.Location = new System.Drawing.Point(3, 78);
			this.Controls.Add(this.uxSatiLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxSatiLabel);			
			//
			// uxSati
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxSati);
			this.uxSati.Location = new System.Drawing.Point(160, 78);
			this.Controls.Add(this.uxSati);
			//
			// uxPostotakLabel
			//
			this.uxPostotakLabel.Text = "Postotak:";
			this.uxPostotakLabel.Location = new System.Drawing.Point(3, 104);
			this.Controls.Add(this.uxPostotakLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxPostotakLabel);			
			//
			// uxPostotak
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxPostotak);
			this.uxPostotak.Location = new System.Drawing.Point(160, 104);
			this.Controls.Add(this.uxPostotak);
			//
			// uxSatnicaLabel
			//
			this.uxSatnicaLabel.Text = "Satnica:";
			this.uxSatnicaLabel.Location = new System.Drawing.Point(3, 130);
			this.Controls.Add(this.uxSatnicaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxSatnicaLabel);			
			//
			// uxSatnica
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxSatnica);
			this.uxSatnica.Location = new System.Drawing.Point(160, 130);
			this.Controls.Add(this.uxSatnica);
			//
			// uxDatumOdLabel
			//
			this.uxDatumOdLabel.Text = "DatumOd:";
			this.uxDatumOdLabel.Location = new System.Drawing.Point(3, 156);
			this.Controls.Add(this.uxDatumOdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumOdLabel);			
			//
			// uxDatumOd
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumOd);
			this.uxDatumOd.Location = new System.Drawing.Point(160, 156);
			this.Controls.Add(this.uxDatumOd);
			//
			// uxDatumDoLabel
			//
			this.uxDatumDoLabel.Text = "DatumDo:";
			this.uxDatumDoLabel.Location = new System.Drawing.Point(3, 182);
			this.Controls.Add(this.uxDatumDoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumDoLabel);			
			//
			// uxDatumDo
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumDo);
			this.uxDatumDo.Location = new System.Drawing.Point(160, 182);
			this.Controls.Add(this.uxDatumDo);
			//
			// uxIznosLabel
			//
			this.uxIznosLabel.Text = "Iznos:";
			this.uxIznosLabel.Location = new System.Drawing.Point(3, 208);
			this.Controls.Add(this.uxIznosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznosLabel);			
			//
			// uxIznos
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznos);
			this.uxIznos.Location = new System.Drawing.Point(160, 208);
			this.Controls.Add(this.uxIznos);
			//
			// uxStazMjeseci1Label
			//
			this.uxStazMjeseci1Label.Text = "StazMjeseci1:";
			this.uxStazMjeseci1Label.Location = new System.Drawing.Point(3, 234);
			this.Controls.Add(this.uxStazMjeseci1Label);
			//this.uxTableLayoutPanel.Controls.Add(this.uxStazMjeseci1Label);			
			//
			// uxStazMjeseci1
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxStazMjeseci1);
			this.uxStazMjeseci1.Location = new System.Drawing.Point(160, 234);
			this.Controls.Add(this.uxStazMjeseci1);
			//
			// uxStazMjeseci2Label
			//
			this.uxStazMjeseci2Label.Text = "StazMjeseci2:";
			this.uxStazMjeseci2Label.Location = new System.Drawing.Point(3, 260);
			this.Controls.Add(this.uxStazMjeseci2Label);
			//this.uxTableLayoutPanel.Controls.Add(this.uxStazMjeseci2Label);			
			//
			// uxStazMjeseci2
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxStazMjeseci2);
			this.uxStazMjeseci2.Location = new System.Drawing.Point(160, 260);
			this.Controls.Add(this.uxStazMjeseci2);
			//
			// uxMIO1Label
			//
			this.uxMIO1Label.Text = "MIO1:";
			this.uxMIO1Label.Location = new System.Drawing.Point(3, 286);
			this.Controls.Add(this.uxMIO1Label);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMIO1Label);			
			//
			// uxMIO1
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxMIO1);
			this.uxMIO1.Location = new System.Drawing.Point(160, 286);
			this.Controls.Add(this.uxMIO1);
			//
			// uxMIO2Label
			//
			this.uxMIO2Label.Text = "MIO2:";
			this.uxMIO2Label.Location = new System.Drawing.Point(3, 312);
			this.Controls.Add(this.uxMIO2Label);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMIO2Label);			
			//
			// uxMIO2
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxMIO2);
			this.uxMIO2.Location = new System.Drawing.Point(160, 312);
			this.Controls.Add(this.uxMIO2);
			//
			// uxBrojDanaInozemstvaLabel
			//
			this.uxBrojDanaInozemstvaLabel.Text = "BrojDanaInozemstva:";
			this.uxBrojDanaInozemstvaLabel.Location = new System.Drawing.Point(3, 338);
			this.Controls.Add(this.uxBrojDanaInozemstvaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxBrojDanaInozemstvaLabel);			
			//
			// uxBrojDanaInozemstva
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxBrojDanaInozemstva);
			this.uxBrojDanaInozemstva.Location = new System.Drawing.Point(160, 338);
			this.Controls.Add(this.uxBrojDanaInozemstva);
			//
			// uxStazSPovecanimTrajanjemRegosLabel
			//
			this.uxStazSPovecanimTrajanjemRegosLabel.Text = "StazSPovecanimTrajanjemRegos:";
			this.uxStazSPovecanimTrajanjemRegosLabel.Location = new System.Drawing.Point(3, 364);
			this.Controls.Add(this.uxStazSPovecanimTrajanjemRegosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxStazSPovecanimTrajanjemRegosLabel);			
			//
			// uxStazSPovecanimTrajanjemRegos
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxStazSPovecanimTrajanjemRegos);
			this.uxStazSPovecanimTrajanjemRegos.Location = new System.Drawing.Point(160, 364);
			this.Controls.Add(this.uxStazSPovecanimTrajanjemRegos);
			//
			// uxIznosSOsobaPlaceLabel
			//
			this.uxIznosSOsobaPlaceLabel.Text = "IznosSOsobaPlace:";
			this.uxIznosSOsobaPlaceLabel.Location = new System.Drawing.Point(3, 390);
			this.Controls.Add(this.uxIznosSOsobaPlaceLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznosSOsobaPlaceLabel);			
			//
			// uxIznosSOsobaPlace
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznosSOsobaPlace);
			this.uxIznosSOsobaPlace.Location = new System.Drawing.Point(160, 390);
			this.Controls.Add(this.uxIznosSOsobaPlace);
			//
			// uxDnevnoRadnihSatiSOsobaplacaLabel
			//
			this.uxDnevnoRadnihSatiSOsobaplacaLabel.Text = "DnevnoRadnihSatiSOsobaplaca:";
			this.uxDnevnoRadnihSatiSOsobaplacaLabel.Location = new System.Drawing.Point(3, 416);
			this.Controls.Add(this.uxDnevnoRadnihSatiSOsobaplacaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDnevnoRadnihSatiSOsobaplacaLabel);			
			//
			// uxDnevnoRadnihSatiSOsobaplaca
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDnevnoRadnihSatiSOsobaplaca);
			this.uxDnevnoRadnihSatiSOsobaplaca.Location = new System.Drawing.Point(160, 416);
			this.Controls.Add(this.uxDnevnoRadnihSatiSOsobaplaca);
			//
			// uxOriginalniIznosLabel
			//
			this.uxOriginalniIznosLabel.Text = "OriginalniIznos:";
			this.uxOriginalniIznosLabel.Location = new System.Drawing.Point(3, 442);
			this.Controls.Add(this.uxOriginalniIznosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxOriginalniIznosLabel);			
			//
			// uxOriginalniIznos
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxOriginalniIznos);
			this.uxOriginalniIznos.Location = new System.Drawing.Point(160, 442);
			this.Controls.Add(this.uxOriginalniIznos);
			//
			// uxDoprinosNaPlaceLabel
			//
			this.uxDoprinosNaPlaceLabel.Text = "DoprinosNaPlace:";
			this.uxDoprinosNaPlaceLabel.Location = new System.Drawing.Point(3, 468);
			this.Controls.Add(this.uxDoprinosNaPlaceLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDoprinosNaPlaceLabel);			
			//
			// uxDoprinosNaPlace
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDoprinosNaPlace);
			this.uxDoprinosNaPlace.Location = new System.Drawing.Point(160, 468);
			this.Controls.Add(this.uxDoprinosNaPlace);
			//
			// uxIDObracunOsoba
			//				
			this.uxIDObracunOsoba.DisplayMember = "IDOsoba";	
			this.uxIDObracunOsoba.ValueMember = "ID";	
			//
			// uxIDPrimanjeTip
			//				
			this.uxIDPrimanjeTip.DisplayMember = "Naziv";	
			this.uxIDPrimanjeTip.ValueMember = "ID";	
			// 
			// ObracunOsobaPrimanjeEditControlBase
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			//this.Controls.Add(this.uxTableLayoutPanel);
			this.AutoScroll = true;
			this.Name = "ObracunOsobaPrimanjeEditControlBase";
			this.Size = new System.Drawing.Size(478, 311);
			//this.Localizable = true;
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();			
			this.ResumeLayout(false);
			this.PerformLayout();
		}
		#endregion
				
		#region ComboBox List
		
				
		private Entities.TList<Entities.ObracunOsoba> _IDObracunOsobaList;
		
		/// <summary>
		/// The ComboBox associated with the IDObracunOsoba property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.ObracunOsoba> IDObracunOsobaList
		{
			get {return _IDObracunOsobaList;}
			set 
			{
				this._IDObracunOsobaList = value;
				this.uxIDObracunOsoba.DataSource = null;
				this.uxIDObracunOsoba.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDObracunOsobaList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDObracunOsoba property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDObracunOsobaList
		{
			get { return _allowNewItemInIDObracunOsobaList;}
			set
			{
				this._allowNewItemInIDObracunOsobaList = value;
				this.uxIDObracunOsoba.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.PrimanjeTip> _IDPrimanjeTipList;
		
		/// <summary>
		/// The ComboBox associated with the IDPrimanjeTip property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.PrimanjeTip> IDPrimanjeTipList
		{
			get {return _IDPrimanjeTipList;}
			set 
			{
				this._IDPrimanjeTipList = value;
				this.uxIDPrimanjeTip.DataSource = null;
				this.uxIDPrimanjeTip.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDPrimanjeTipList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDPrimanjeTip property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDPrimanjeTipList
		{
			get { return _allowNewItemInIDPrimanjeTipList;}
			set
			{
				this._allowNewItemInIDPrimanjeTipList = value;
				this.uxIDPrimanjeTip.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
		
		#endregion
		
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	}
}
